<%@ Page Language="C#" AutoEventWireup="true" CodeFile="GridViewAndValidatorObjectPage.aspx.cs" Inherits="GridViewAndValidatorObjectPage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div>
            <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px"
                CaptionAlign="Right" CellPadding="3" GridLines="Vertical" OnPageIndexChanging="GridView1_PageIndexChanging"
                OnRowDataBound="GridView1_RowDataBound">
                <PagerSettings FirstPageText="FirstPage" LastPageText="LastPage" Mode="NumericFirstLast"
                    NextPageText="Next" PageButtonCount="5" Position="TopAndBottom" PreviousPageText="Previous" />
                <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
                <Columns>
                    <asp:BoundField DataField="Email" HeaderText="Email" />
                    <asp:BoundField DataField="CompanyName" HeaderText="CompanyName" />
                    <asp:TemplateField HeaderText="Job Posting Balance">
                        <ItemTemplate>
                            &nbsp;&nbsp;
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="JobPostingBalance" HeaderText="Job Posting Balance">
                        <ControlStyle Width="0px" />
                        <ItemStyle Width="0px" />
                        <HeaderStyle Width="0px" />
                        <FooterStyle Width="0px" />
                    </asp:BoundField>
                    <asp:TemplateField HeaderText="Resume Viewing Balance">
                        <ItemTemplate>
                            &nbsp;
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="ResumeViewingBalance" HeaderText="Resume Viewing Balance" />
                    <asp:CheckBoxField DataField="Agency" HeaderText="Agency" />
                </Columns>
                <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
                <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Right" Wrap="False" />
                <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
                <AlternatingRowStyle BackColor="Gainsboro" />
            </asp:GridView>
            &nbsp;</div>
        <asp:Button ID="Button1" runat="server" Text="Update" />
    
    </div>
    </form>
</body>
</html>
